<template>
  <view :style="themeColor">
    <view class="page">
      <view class="flex flex-wrap align-center justify-center benben-position-layout flex mypostDetails_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between flex-sub mypostDetails_fd0_0'>
          <view class='flex flex-wrap align-center self-center mypostDetails_fd0_0_c0' @tap.stop="handleJumpDiy"
            data-type="back" data-url="1">
            <image class='mypostDetails_fd0_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"63.png"'></image>
          </view>
          <text class='mypostDetails_fd0_0_c1'>详情</text>
          <view class='flex flex-wrap align-center self-center justify-end mypostDetails_fd0_0_c0'>
            <image class='mypostDetails_fd0_0_c2_c0' mode="aspectFit" :src='STATIC_URL+"105.png"'
              @tap.stop="popupShow1704178252726=true" v-if=" postsDetails.state=='2'"></image>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap align-center mypostDetails_flex_1">
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout mypostDetails_flex_2">
        <view class='flex flex-wrap align-center justify-between mypostDetails_fd2_0'>
          <view class='flex flex-wrap align-center'>
            <image class='mypostDetails_fd2_0_c0_c0' mode="aspectFit" :src='postsDetails.avatar'></image>
            <view class='flex flex-direction flex-wrap align-start'>
              <text class='mypostDetails_fd2_0_c0_c1_c0'>{{postsDetails.user_nickname}}</text>
              <view class='flex flex-wrap align-center mypostDetails_fd2_0_c0_c1_c1'>
                <text class='mypostDetails_fd2_0_c0_c1_c1_c0'>{{postsDetails.create_time}}</text>
                <text class='mypostDetails_fd2_0_c0_c1_c1_c1'>{{postsDetails.address}}</text>
              </view>
            </view>
          </view>
          <view class='flex flex-wrap align-center'>
            <button class='mypostDetails_fd2_0_c1_c0' v-if=" postsDetails.state=='3'">删除</button>
            <button class='mypostDetails_fd2_0_c1_c1' @tap.stop="handleJumpDiy" data-type="navigateTo"
              :data-url="`/pages/fabu/postApost/postApost?aid=${postsDetails.aid}`"
              v-if=" in_array(postsDetails.state,'1,3')">编辑</button>
          </view>
        </view>
        <view class='flex flex-direction flex-wrap align-stretch mypostDetails_fd2_1'>
          <text class='mypostDetails_fd2_1_c0'>{{postsDetails.title}}</text>
          <text class='mypostDetails_fd2_1_c1'>{{postsDetails.content}}</text>
        </view>
        <view class='flex flex-wrap align-center mypostDetails_fd2_2'>
          <template v-for='(item,key0) in postsDetails.images'>
            <view class='flex flex-wrap align-center' :key='key0'>
              <image class='mypostDetails_fd2_2_c0_c0' mode="aspectFit" :src='item'></image>
            </view>
          </template>

        </view>
        <view class='flex flex-wrap align-center mypostDetails_fd2_3'>
          <view class='flex flex-wrap align-center mypostDetails_fd2_3_c0'>
            <image class='mypostDetails_fd2_3_c0_c0' mode="aspectFit" :src='STATIC_URL+"64.png"'></image>
            <text class='mypostDetails_fd2_0_c0_c1_c1_c0'>{{postsDetails.address}}</text>
          </view>
        </view>
      </view>

      <!---flex布局flex布局结束-->
      <benben-popup v-model="popupShow1704178252726" :mask="true" :mask-close-able="false" mode='bottom' :z-index='999'>
        <!---分享flex布局开始-->
        <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout">
          <view class='flex flex-direction flex-wrap align-stretch mypostDetails_fd3_0'>
            <view class='flex flex-wrap align-center justify-between mypostDetails_fd3_0_c0'>
              <view class='flex flex-wrap align-center mypostDetails_fd3_0_c0_c0'>
              </view>
              <view class='flex flex-wrap align-center justify-center mypostDetails_fd3_0_c0_c1'>
                <text class='mypostDetails_fd3_0_c0_c1_c0'>更多</text>
              </view>
              <view class='flex flex-wrap align-center mypostDetails_fd3_0_c0_c2'>
                <image class='mypostDetails_fd3_0_c0_c2_c0' mode="aspectFit" :src='STATIC_URL+"69.png"'
                  @tap.stop="popupShow1704178252726=false"></image>
              </view>
            </view>
            <view class='flex flex-wrap align-center justify-around mypostDetails_fd3_0_c1'>
              <view class='flex flex-direction flex-wrap align-center' @tap.stop="MysharedFunc(1)">
                <image class='mypostDetails_fd3_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"72.png"'></image>
                <text class='mypostDetails_fd3_0_c1_c0_c1'>私信好友</text>
              </view>
              <view class='flex flex-direction flex-wrap align-center' @tap.stop="MysharedFunc(2)">
                <image class='mypostDetails_fd3_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"71.png"'></image>
                <text class='mypostDetails_fd3_0_c1_c0_c1'>微信好友</text>
              </view>
              <view class='flex flex-direction flex-wrap align-center' @tap="MysharedFunc(3)">
                <image class='mypostDetails_fd3_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"90.png"'></image>
                <text class='mypostDetails_fd3_0_c1_c0_c1'>删除</text>
              </view>
            </view>
          </view>
        </view>

        <!---分享flex布局结束-->

      </benben-popup>
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap align-center mypostDetails_flex_4">
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout mypostDetails_flex_5">
        <view class='flex flex-wrap align-center'>
          <text class='mypostDetails_fd5_0_c0'>共</text>
          <text class='mypostDetails_fd5_0_c0'>{{postsDetails.comment_number}}</text>
          <text class='mypostDetails_fd5_0_c0'>条评论</text>
        </view>
        <template v-for='(item,key0) in commentList'>
          <view class='flex flex-wrap align-start mypostDetails_fd5_1' v-if=" commentList.length>='1'" :key='key0'>
            <image class='mypostDetails_fd5_1_c0' mode="aspectFit" :src='item.avatar'></image>
            <view class='flex flex-direction flex-wrap align-stretch flex-sub'>
              <view class='flex flex-wrap align-center'>
                <text class='mypostDetails_fd5_1_c1_c0_c0'>{{item.user_nickname}}</text>
              </view>
              <view class='flex flex-wrap align-center mypostDetails_fd5_1_c1_c1'>
                <text class='mypostDetails_fd5_1_c1_c1_c0'>来自</text>
                <text class='mypostDetails_fd5_1_c1_c1_c1'>{{item.user_school}}</text>
              </view>
              <view class='flex flex-wrap align-center mypostDetails_fd5_1_c1_c2'>
                <text class='mypostDetails_fd5_1_c1_c2_c0'>{{item.content}}</text>
              </view>
              <view class='flex flex-wrap align-center justify-between mypostDetails_fd5_1_c1_c2'>
                <text class='mypostDetails_fd5_1_c1_c1_c1'>{{item.create_time}}</text>
                <view class='flex flex-wrap align-center'>
                  <view class='flex flex-wrap align-center mypostDetails_fd5_1_c1_c3_c1_c0'>
                    <image class='mypostDetails_fd5_1_c1_c3_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"67.png"'>
                    </image>
                    <text class='mypostDetails_fd5_1_c1_c3_c1_c0_c1'>{{item.reply_num}}</text>
                  </view>
                  <view class='flex flex-wrap align-center'>
                    <image class='mypostDetails_fd5_1_c1_c3_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"65.png"'>
                    </image>
                    <text class='mypostDetails_fd5_1_c1_c3_c1_c0_c1'>{{item.support_number}}</text>
                  </view>
                </view>
              </view>
              <template v-for='(child,key1) in item.son_info'>
                <view class='flex flex-wrap align-center mypostDetails_fd5_1_c1_c4' :key='key1'>
                  <view class='flex flex-wrap align-start mypostDetails_fd5_1'>
                    <image class='mypostDetails_fd5_1_c0' mode="aspectFit" :src='child'></image>
                    <view class='flex flex-direction flex-wrap align-stretch flex-sub'>
                      <view class='flex flex-wrap align-center'>
                        <text class='mypostDetails_fd5_1_c1_c0_c0'>冰凉小手</text>
                      </view>
                      <view class='flex flex-wrap align-center mypostDetails_fd5_1_c1_c1'>
                        <text class='mypostDetails_fd5_1_c1_c1_c0'>来自</text>
                        <text class='mypostDetails_fd5_1_c1_c1_c1'>匹兹堡大学</text>
                      </view>
                      <view class='flex flex-wrap align-center mypostDetails_fd5_1_c1_c2'>
                        <text class='mypostDetails_fd5_1_c1_c2_c0'>这是真的吗，真好这是真的吗，真好这是真的吗，真好这是真的吗，真好</text>
                      </view>
                      <view class='flex flex-wrap align-center justify-between mypostDetails_fd5_1_c1_c2'>
                        <text class='mypostDetails_fd5_1_c1_c1_c1'>今天 09:23</text>
                        <view class='flex flex-wrap align-center'>
                          <view class='flex flex-wrap align-center mypostDetails_fd5_1_c1_c3_c1_c0'>
                            <image class='mypostDetails_fd5_1_c1_c3_c1_c0_c0' mode="aspectFit"
                              :src='STATIC_URL+"67.png"'></image>
                            <text class='mypostDetails_fd5_1_c1_c3_c1_c0_c1'>322</text>
                          </view>
                          <view class='flex flex-wrap align-center'>
                            <image class='mypostDetails_fd5_1_c1_c3_c1_c0_c0' mode="aspectFit"
                              :src='STATIC_URL+"65.png"'></image>
                            <text class='mypostDetails_fd5_1_c1_c3_c1_c0_c1'>322</text>
                          </view>
                        </view>
                      </view>
                    </view>
                  </view>
                </view>
              </template>

              <template v-for='(child,key1) in item.son_info'>
                <view class='flex flex-wrap align-center mypostDetails_fd5_1' v-if=" child!=0" :key='key1'>

                  <view class='flex  mypostDetails_fd5_1_c1_c5_c0'></view>

                  <text class='mypostDetails_fd5_1_c1_c5_c1'>展开</text>
                  <text class='mypostDetails_fd5_1_c1_c5_c1'>2</text>
                  <text class='mypostDetails_fd5_1_c1_c5_c1'>条回复</text>
                  <image class='mypostDetails_fd5_1_c1_c5_c4' mode="aspectFit" :src='STATIC_URL+"68.png"'></image>
                </view>
              </template>

            </view>
          </view>
        </template>
        <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData"
          :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
        <view class='flex flex-wrap align-center justify-center mypostDetails_fd5_1' v-if=" commentList.length<'1'">
          <image class='mypostDetails_fd5_2_c0' mode="aspectFit" :src='STATIC_URL+"49.png"'></image>
        </view>
      </view>

      <!---flex布局flex布局结束-->
      <view class="flex flex-direction flex-wrap align-stretch benben-position-layout flex mypostDetails_flex_6">
        <view class='flex flex-wrap align-center justify-between flex-sub mypostDetails_fd6_0'>
          <view class='flex flex-wrap align-center flex-sub mypostDetails_fd6_0_c0'>
            <benben-input type="text" :placeholder="`说点什么...`" confirm-type="done" :maxlength="-1"
              placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx" @confirm="commentFunc()"
              v-model="content" />
          </view>
          <view class='flex flex-wrap align-center'>
            <view class='flex flex-direction flex-wrap align-center mypostDetails_fd6_0_c1_c0'>
              <image class='mypostDetails_fd6_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"65.png"'></image>
              <text class='mypostDetails_fd6_0_c1_c0_c1'>{{postsDetails.support_number}}</text>
            </view>
            <view class='flex flex-direction flex-wrap align-center'>
              <image class='mypostDetails_fd6_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"66.png"'></image>
              <text class='mypostDetails_fd6_0_c1_c0_c1'>{{postsDetails.collection_number}}</text>
            </view>
          </view>
        </view>

      </view>
      <view :style="{height: '98rpx'}"></view>


    </view>
  </view>
</template>
<script>
  import pagingList from '@/common/mixin/paging_list.js';
  import {
    validate
  } from '@/common/utils/validate.js'

  export default {
    components: {},
    mixins: [pagingList],

    data() {
      return {
        "popupShow1704178252726": false,
        "minixPagingListsApi": "",
        "pageingListApiMethod": "",
        "allowOnloadGetList": false,
        "dataDetails": {
          "id": "",
          "cid": "",
          "adslogan": "",
          "name": "",
          "sales_sum": "",
          "spectypeid": "",
          "click": "",
          "is_recommend": "",
          "is_new": "",
          "is_hot": "",
          "shop_price": "",
          "member_price": "",
          "market_price": "",
          "images": [],
          "thumb": "",
          "body": "",
          "description": "",
          "stock": "",
          "is_spec": "",
          "is_shipping": "",
          "freight_price": "",
          "support_self_mention": "",
          "freight_template_id": "",
          "partner_id": "",
          "video": "",
          "video_img": "",
          "share_award_money": "",
          "discounts": "",
          "spec_list": [],
          "sku_list": {
            "sku_id": "",
            "key": "",
            "key_name": "",
            "member_price": "",
            "shop_price": "",
            "market_price": "",
            "stock": "",
            "step_price": []
          },
          "coupon_list": [],
          "activity_info": {
            "activity_type": ""
          },
          "user_level": "",
          "is_collect": "",
          "comment_total": "",
          "praise_rate": "",
          "freight_explain": "",
          "freight_name": "",
          "sale_top_name": "",
          "question_total": "",
          "question_list": [],
          "goods_type": "",
          "chat_price": "",
          "shop_info": {
            "store_id": "",
            "store_name": "",
            "store_logo": "",
            "level_name": "",
            "store_star": "",
            "store_collection_num": ""
          },
          "warm_prompt": "",
          "comment": [],
          "is_wholesale": "",
          "is_step": "",
          "init_wholesale_num": "",
          "package_arr": [],
          "package_count": ""
        },
        "sku_id": "",
        "sharedInfo": {
          "url": "",
          "qrcode_url": ""
        },
        "sharedImg": "",
        "postsDetails": {
          "aid": "",
          "type": "",
          "user_nickname": "",
          "title": "",
          "content": "",
          "images": [],
          "is_nm": "",
          "support_number": "",
          "collection_number": "",
          "comment_number": "",
          "end_time": "",
          "is_end": "",
          "question_type": "",
          "address": "",
          "create_time": "",
          "user_id": "",
          "postoperate_id": "",
          "avatar": "",
          "is_follow": "",
          "array_title": "",
          "array_info": [],
          "state": ""
        },
        "commentList": [],
        "content": "",
        "aid": "2"
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },
      isLogin() {
        return this.$store.state.token == '' ? false : true;
      },
      /**
       * @returns 
       * Android       安卓
       * IOS       苹果
       * Web       H5 或 pc
       * Wechat       微信小程序
       * Alipay       支付宝小程序
       * Baidu       百度小程序
       * ByteBounce       抖音小程序
       * 360       360小程序
       * FastApp       快应用
       */
      appSystemIdentification() {
        return this.$store.state.appSystemIdentification
      }
    },
    watch: {},
    onLoad(options) {
      let {
        aid
      } = options
      if (aid !== undefined) this.aid = aid
      this.getpostDetailsFunc()
      this.getCommentFunc()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {
      this.getCommentFunc()
    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //分享
      async MysharedFunc(type) {
        if (type == '1' && this.isLogin === true) {
          //请求方法
          //数据验证

          let datasharedInfo = await this.$api.get(global.apiUrls.post642402f366fd4, {
            goods_id: this.dataDetails.id,
            sku_id: this.sku_id
          });

          if (datasharedInfo.data.code != 1) {
            this.$message.info(datasharedInfo.data.msg);
            return
          }
          let infosharedInfo = datasharedInfo.data;
          this.sharedInfo = infosharedInfo.data

          await this.syncUniApi('share', {
            'provider': 'weixin',
            'scene': 'WXSceneSession',
            'type': '0',
            'title': '推荐一个好物给您',
            'href': this.sharedInfo.url,
            'summary': this.dataDetails.name,
            'imageUrl': this.dataDetails.thumb
          })
        } else if (type == '2' && this.isLogin === true) {
          //请求方法
          //数据验证

          let datasharedInfo = await this.$api.get(global.apiUrls.post642402f366fd4, {
            goods_id: this.dataDetails.id,
            sku_id: this.sku_id
          });

          if (datasharedInfo.data.code != 1) {
            this.$message.info(datasharedInfo.data.msg);
            return
          }
          let infosharedInfo = datasharedInfo.data;
          this.sharedInfo = infosharedInfo.data

          await this.syncUniApi('share', {
            'provider': 'weixin',
            'scene': 'WXSceneTimeline',
            'type': '0',
            'title': '推荐一个好物给您',
            'href': this.sharedInfo.url,
            'summary': this.dataDetails.name,
            'imageUrl': this.dataDetails.thumb
          })
        } else if (type == '4' && this.isLogin === true) {
          //请求方法
          //数据验证

          let datasharedInfo = await this.$api.get(global.apiUrls.post642402f366fd4, {
            goods_id: this.dataDetails.id,
            sku_id: this.sku_id
          });

          if (datasharedInfo.data.code != 1) {
            this.$message.info(datasharedInfo.data.msg);
            return
          }
          let infosharedInfo = datasharedInfo.data;
          this.sharedInfo = infosharedInfo.data

          this.sharedImg = await this.painterGenerateImages('painter1690420071407', 'painterParam1690420071407');
          this.popupShow1704178252726 = false;
          this.popupShow1704178136636 = true;
        } else if (type == '3' && this.isLogin === true) {
          //请求方法
          //数据验证

          let datasharedInfo = await this.$api.get(global.apiUrls.post642402f366fd4, {
            goods_id: this.dataDetails.id,
            sku_id: this.sku_id
          });

          if (datasharedInfo.data.code != 1) {
            this.$message.info(datasharedInfo.data.msg);
            return
          }
          let infosharedInfo = datasharedInfo.data;
          this.sharedInfo = infosharedInfo.data

          this.copyText(this.sharedInfo.url);
        } else if (this.isLogin === false) {
          this.toLoginDiy();
        }
      },
      //保存海报图片
      SavePictureFunc() {
        if (this.appSystemIdentification == 'IOS' || this.appSystemIdentification == 'Android') {
          uni.saveImageToPhotosAlbum({
            filePath: this.sharedImg,
            success: (res) => {
              console.log(res)
              this.$message.info(global.i18n.t('保存成功'))
              this.close()
            },
          })
        } else if (this.appSystemIdentification == 'Web') {
          uni.downloadFile({
            url: this.sharedImg,
            success: (res) => {
              console.log(res)
              if (res.statusCode === 200) {
                console.log('下载成功');
                var oA = document.createElement("a");
                oA.download = ''; // 设置下载的文件名，默认是'下载'
                oA.href = res.tempFilePath; //临时路径再保存到本地
                document.body.appendChild(oA);
                oA.click();
                oA.remove(); // 下载之后把创建的元素删除
              }

            }
          });
        } else if (this.appSystemIdentification == 'Wechat') {
          uni.getImageInfo({
            src: this.sharedImg,
            success: (res) => {
              uni.saveImageToPhotosAlbum({
                filePath: res.path,
                success: (ress) => {
                  this.$message.info(this.$t('保存成功'))
                },
                fail: (err) => {
                  console.log(err);
                  this.$message.info(this.$t('保存失败'))
                }
              })
            }
          })
        }
        this.popupShow1704178136636 = false;
      },
      //获取帖子详情
      async getpostDetailsFunc() {
        //请求方法
        //数据验证

        let datapostsDetails = await this.$api.get(global.apiUrls.post6577fe761d487, {
          aid: this.aid
        });

        if (datapostsDetails.data.code != 1) {
          this.$message.info(datapostsDetails.data.msg);
          return
        }
        let infopostsDetails = datapostsDetails.data;
        this.postsDetails = infopostsDetails.data

      },
      //获取评论列表
      getCommentFunc() {
        this.minixPagingListsApi = global.apiUrls.post657812e2b7c89;
        this.pageingListApiMethod = 'get';
        this.allowOnloadGetList = false;
        this.pagingListPostDataContent = {
          postquestion_id: this.aid
        }
        this.listData = [];
        this.commentList = this.listData;
        this.pagingListToggle();

      },
      //评论
      async commentFunc() {
        //请求方法
        //数据验证

        let data657914e009af0 = await this.$api.post(global.apiUrls.post657914e009af0, {
          content: this.content,
          is_q: '1',
          pid: '1',
          postquestion_id: this.aid
        });

        if (data657914e009af0.data.code != 1) {
          this.$message.info(data657914e009af0.data.msg);
          return
        }



      },
      pagingListPostData() {
        return this.pagingListPostDataContent
      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: rgba(255, 255, 255, 1);
    background-size: 100% auto;
  }

  .mypostDetails_flex_0 {
    background: rgba(255, 255, 255, 1);
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .mypostDetails_fd0_0_c2_c0 {
    width: 40rpx;
    height: 40rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .mypostDetails_fd0_0_c1 {
    font-size: 36rpx;
    font-weight: 700;
    color: #333333;
  }

  .mypostDetails_fd0_0_c0_c0 {
    width: 18rpx;
    height: 32rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .mypostDetails_fd0_0_c0 {
    width: 50rpx;
    height: 50rpx;
  }

  .mypostDetails_fd0_0 {
    height: 88rpx;
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .mypostDetails_flex_1 {
    background: rgba(248, 248, 248, 1);
    background-size: 100% auto;
    height: 20rpx;
  }

  .mypostDetails_flex_2 {
    padding: 0rpx 0rpx 28rpx 0rpx;
  }

  .mypostDetails_fd2_3_c0_c0 {
    width: 30rpx;
    height: 30rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 6rpx 0rpx 0rpx;
  }

  .mypostDetails_fd2_3_c0 {
    border: 1px solid rgba(153, 153, 153, 1);
    padding: 8rpx 20rpx 8rpx 20rpx;
    border-radius: 50rpx;
  }

  .mypostDetails_fd2_3 {
    margin: 28rpx 32rpx 0rpx 32rpx;
  }

  .mypostDetails_fd2_2_c0_c0 {
    width: 210rpx;
    height: 210rpx;
    border-radius: 8rpx;
    margin: 0rpx 10rpx 10rpx 0rpx;
  }

  .mypostDetails_fd2_2 {
    margin: 24rpx 22rpx 0rpx 32rpx;
  }

  .mypostDetails_fd2_1_c1 {
    margin: 16rpx 0rpx 0rpx 0rpx;
    color: #333333;
    font-size: 32rpx;
    font-weight: 400;
    line-height: 42rpx;
  }

  .mypostDetails_fd2_1_c0 {
    color: #333333;
    font-size: 32rpx;
    font-weight: 700;
    line-height: 42rpx;
  }

  .mypostDetails_fd2_1 {
    margin: 40rpx 32rpx 0rpx 32rpx;
  }

  .mypostDetails_fd2_0_c1_c1 {
    background: rgba(100, 80, 235, 1);
    border-radius: 33rpx 33rpx 33rpx 33rpx;
    width: 112rpx;
    line-height: 56rpx;
    font-size: 24rpx;
    color: #fff;
    margin: 0rpx 0rpx 0rpx 12rpx;
  }

  .mypostDetails_fd2_0_c1_c0 {
    border: 1px solid rgba(153, 153, 153, 1);
    background: rgba(255, 255, 255, 1);
    border-radius: 33rpx 33rpx 33rpx 33rpx;
    width: 112rpx;
    line-height: 56rpx;
    font-size: 24rpx;
    color: rgba(153, 153, 153, 1);
  }

  .mypostDetails_fd2_0_c0_c1_c1_c1 {
    color: #999999;
    font-size: 24rpx;
    font-weight: 400;
    line-height: 32rpx;
    margin: 0rpx 0rpx 0rpx 12rpx;
  }

  .mypostDetails_fd2_0_c0_c1_c1_c0 {
    color: #999999;
    font-size: 24rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .mypostDetails_fd2_0_c0_c1_c1 {
    margin: 6rpx 0rpx 0rpx 0rpx;
  }

  .mypostDetails_fd2_0_c0_c1_c0 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 700;
    line-height: 32rpx;
  }

  .mypostDetails_fd2_0_c0_c0 {
    width: 80rpx;
    height: 80rpx;
    border-radius: 100rpx;
    margin: 0rpx 20rpx 0rpx 0rpx;
  }

  .mypostDetails_fd2_0 {
    margin: 32rpx 32rpx 0rpx 32rpx;
  }

  .mypostDetails_fd3_0_c1_c0_c1 {
    font-size: 24rpx;
    font-weight: 400;
    color: #333;
  }

  .mypostDetails_fd3_0_c1_c0_c0 {
    width: 102rpx;
    height: 102rpx;
    border-radius: 100rpx;
    margin: 0rpx 0rpx 16rpx 0rpx;
  }

  .mypostDetails_fd3_0_c1 {
    padding: 0rpx 0rpx 58rpx 0rpx;
  }

  .mypostDetails_fd3_0_c0_c2_c0 {
    width: 32rpx;
    height: 32rpx;
    border-radius: 20rpx 20rpx 20rpx 20rpx;
  }

  .mypostDetails_fd3_0_c0_c2 {
    margin: 0rpx 2rpx 0rpx 0rpx;
  }

  .mypostDetails_fd3_0_c0_c1_c0 {
    font-size: 32rpx;
    font-weight: 700;
    color: #333;
    margin: 0rpx 16rpx 0rpx 16rpx;
  }

  .mypostDetails_fd3_0_c0_c1 {
    padding: 40rpx 0rpx 48rpx 0rpx;
  }

  .mypostDetails_fd3_0_c0_c0 {
    width: 40rpx;
  }

  .mypostDetails_fd3_0_c0 {
    padding: 0rpx 13rpx 0rpx 0rpx;
  }

  .mypostDetails_fd3_0 {
    background: #fff;
    background-size: 100% auto !important;
    border-radius: 24rpx 24rpx 0rpx 0rpx;
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .mypostDetails_flex_4 {
    background: rgba(248, 248, 248, 1);
    height: 20rpx;
    background-size: 100% auto;
  }

  .mypostDetails_flex_5 {
    padding: 32rpx 32rpx 0rpx 32rpx;
  }

  .mypostDetails_fd5_2_c0 {
    width: 440rpx;
    height: 358rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .mypostDetails_fd5_1_c1_c5_c4 {
    width: 18rpx;
    height: 10rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 0rpx 0rpx 8rpx;
  }

  .mypostDetails_fd5_1_c1_c5_c1 {
    color: #666666;
    font-size: 26rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .mypostDetails_fd5_1_c1_c5_c0 {
    background: rgba(153, 153, 153, 1);
    width: 36rpx;
    height: 1rpx;
    transform: scaleY(0.5);
    margin: 0rpx 18rpx 0rpx 0rpx;
  }

  .mypostDetails_fd5_1_c1_c4 {
    margin: 24rpx 0rpx 0rpx 0rpx;
  }

  .mypostDetails_fd5_1_c1_c3_c1_c0_c1 {
    color: #999999;
    font-size: 20rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .mypostDetails_fd5_1_c1_c3_c1_c0_c0 {
    width: 32rpx;
    height: 32rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 4rpx 0rpx 0rpx;
  }

  .mypostDetails_fd5_1_c1_c3_c1_c0 {
    margin: 0rpx 36rpx 0rpx 0rpx;
  }

  .mypostDetails_fd5_1_c1_c2_c0 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .mypostDetails_fd5_1_c1_c2 {
    margin: 16rpx 0rpx 0rpx 0rpx;
  }

  .mypostDetails_fd5_1_c1_c1_c1 {
    color: #999999;
    font-size: 24rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .mypostDetails_fd5_1_c1_c1_c0 {
    margin: 0rpx 12rpx 0rpx 0rpx;
    color: #999999;
    font-size: 24rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .mypostDetails_fd5_1_c1_c1 {
    margin: 4rpx 0rpx 0rpx 0rpx;
  }

  .mypostDetails_fd5_1_c1_c0_c0 {
    color: #333333;
    font-size: 24rpx;
    font-weight: 700;
    line-height: 32rpx;
    margin: 0rpx 8rpx 0rpx 0rpx;
  }

  .mypostDetails_fd5_1_c0 {
    width: 70rpx;
    height: 70rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 16rpx 0rpx 0rpx;
  }

  .mypostDetails_fd5_1 {
    margin: 32rpx 0rpx 0rpx 0rpx;
  }

  .mypostDetails_fd5_0_c0 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 700;
    line-height: 32rpx;
  }

  .mypostDetails_flex_6 {
    background: rgba(255, 255, 255, 1);
    width: 750rpx;
    height: 98rpx;
    overflow: hidden;
    z-index: 10;
    bottom: calc(0rpx + var(--window-bottom));
    box-shadow: 0rpx -1rpx 0rpx 1rpx rgba(0, 0, 0, 0.08);
    background-size: 100% auto;
  }

  .mypostDetails_fd6_0_c1_c0_c1 {
    color: #999999;
    font-size: 20rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .mypostDetails_fd6_0_c1_c0_c0 {
    width: 44rpx;
    height: 44rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .mypostDetails_fd6_0_c1_c0 {
    margin: 0rpx 48rpx 0rpx 0rpx;
  }

  .mypostDetails_fd6_0_c0 {
    background: rgba(248, 248, 248, 1);
    margin: 0rpx 32rpx 0rpx 0rpx;
    padding: 16rpx 32rpx 16rpx 32rpx;
    border-radius: 40rpx;
    background-size: 100% auto;
  }

  .mypostDetails_fd6_0 {
    padding: 12rpx 36rpx 12rpx 32rpx;
  }
</style>